<!DOCTYPE html>
<html>
<head>
	<title></title>
	<link rel="stylesheet" type="text/css" href="/stylesheets/main.css">
</head>
<body>
	<div class="wrapper">
		<header>
		  	<div class="top-banner">
		  		<div class="top-left f-l">
		  			<a href="https://www.oschina.net/" class="top-logo"></a>
		  			<div class="top-nav">
		                <a class="nav-item" href="/">首页</a>
		                <div class="nav-item nav-drop">
		                    <a href="" class="project">
		                        开源项目
		                        <i class="icon-svg"></i>
		                    </a>
		                    <div class="nav-drop-down">
		                        <ul class="drop-list">
		                            <li><a href="https://www.oschina.net/project/zh">国产开源项目</a></li>
		                            <li><a href="https://www.oschina.net/project/tags">项目分类</a></li>
		                            <li><a href="https://www.oschina.net/project/list?sort=time">最新收录项目</a></li>
		                            <li class="split"></li>
		                            <li><a href="https://www.oschina.net/project/lang/19/java">Java 开源软件</a></li>
		                            <li><a href="https://www.oschina.net/project/lang/194/csharp">C# 开源软件</a></li>
		                            <li><a href="https://www.oschina.net/project/lang/22/php">PHP 开源软件</a></li>
		                            <li><a href="https://www.oschina.net/project/lang/21/c">C/C++ 开源软件</a></li>
		                            <li><a href="https://www.oschina.net/project/lang/26/ruby">Ruby 开源软件</a></li>
		                            <li><a href="https://www.oschina.net/project/lang/25/python">Python 开源软件</a></li>
		                            <li><a href="https://www.oschina.net/project/lang/358/go">Go开源软件</a></li>
		                            <li><a href="https://www.oschina.net/project/lang/28/javascript">JS开源软件</a></li>
		                        </ul>
		                    </div>
		                </div>
		                <div class="box nav-item nav-drop">
		                    <a href="" class="question">
		                        问答
		                        <i class="icon-svg icon-arr-down-white"></i>
		                    </a>
		                    <div class="nav-drop-down">
		                        <ul class="drop-list">
		                            <li><a href="https://www.oschina.net/question?catalog=1"> 技术问答</a></li>
		                            <li><a href="https://www.oschina.net/question?catalog=2"> 技术分享</a></li>
		                            <li><a href="https://www.oschina.net/question?catalog=3"> IT大杂烩</a></li>
		                            <li><a href="https://www.oschina.net/question?catalog=100"> 职业生涯</a></li>
		                            <li><a href="https://www.oschina.net/question?catalog=4"> 站务/建议</a></li>
		                            <li><a href="https://www.oschina.net/alipay"> 支付宝专区</a></li>
		                            <li><a href="https://www.oschina.net/mopaas"> MoPaaS专区</a></li>
		                            <li><a href="https://www.oschina.net/hardware"> 开源硬件专区</a></li>
		                        </ul>
		                    </div>
		                </div>
		                <a href="" class="nav-item tweets">动弹</a>
		                <a href="" class="nav-item blog">博客</a>
		                <a href="" class="nav-item tran">翻译</a>
		                <a href="" class="nav-item news">资讯</a>
		                <div class="nav-item nav-drop">
		                    <a href="" class="mobile">
		                        专题
		                        <i class="icon-svg"></i>
		                    </a>
		                    <div class="nav-drop-down">
		                        <ul class="drop-list drop-list-inline">
		                            <li><a href="" class="font-red">源创会</a> <a href="">视频</a></li>
		                            <li><a href="">高手问答</a> <a href="">访谈</a></li>
		                            <li><a href="">周刊</a> <a href="">乱弹</a></li>
		                            <li><a href="">公司开源导航页</a></li>
		                            <li class="android"><a href="">Android开发专区</a></li>
		                            <li class="ios"><a href="">iOS开发专区</a></li>
		                            <li class="ios"><a href="">iOS代码库</a></li>
		                            <li class="wp7"><a href="">Windows Phone</a></li>
		                        </ul>
		                    </div>
		                </div>
		                <a href="" class="nav-item event">活动</a>
		                <a href="" class="nav-item event">招聘</a>
	           		 </div>
		  		</div>
		  		<div class="top-right f-r">
	        <%if(username == undefined || username==""){%>
	              [ <a href="/users/login">登录</a> | <a href="/users/signup">注册</a> ]
	        <%}else{%>
	              [ <a>欢迎 <%=username%></a> | <a href="/users/signout">退出</a> ]
	          <%}%>
	            </div>
		  	</div>
	  	</header>
	  	<div class="main">
	  		<div class="message">
	  			<form action="/addmessage" method="post">
	  				<textarea name="content" placeholder="今天你动弹了吗？"></textarea>
	  				<button type="submit">发布</button>
	  			</form>
	  			<h3>大家在动弹什么?</h3>
				<%for(var i=0;i<message.length;i++){%>
	  			<div class="item">
	  				<p><%=message[i].name%><span><%=message[i].time%></span></p>
	  				<p><%=message[i].content%></p>
	  			</div>
	  			<%}%>
	  		</div>
	  	</div>
	  </div>
</body>
</html>